dsh-mermaid-image-preview: Preview Mermaid diagrams in DSH Web Chat

dsh-mermaid-image-preview is a community plugin for DeepSeek Harness maintained by baconbao, designed to address the pain point of viewing Mermaid charts in DSH Web sessions, which typically requires copying code to external tools. When the plugin detects a Mermaid code block within a chat message, it renders it directly as an image preview. It supports 14 chart types, automatic light/dark mode switching, and allows users to click on charts to zoom in or out. Its core features include a "local rendering first" strategy, where external or self-hosted services can be configured as a fallback rendering engine if local rendering fails or is disabled. Users can adjust runtime parameters via UI setting cards without restarting the service; however, restarting dsh web is required if underlying configurations are modified. Installation involves adding the plugin via the npx command and restarting the service.

Read More